28c28
<     public boolean abcastsent=false;
---
> 
30c30
<     public  Message m,mab2,newm;// private made public by Mithun
---
>     private Message m,mab2,newm;
53d52
<     // int abcastcount;
142c141
< 	System.out.println("counter");
---
> 
153d151
< 	abcastsent=false;
210,211c208
< 			//	abcastcount=m.getmessageid();
< 			//System.out.println("abcast count"+abcastcount);
---
> 			
228d224
< 	System.out.println("Query reply");
345c341
< 			System.out.println("processab2 value of x "+x+" "+m.getmessagenum());
---
> 			//		System.out.println("processab2 "+x);
356d351
< 				System.out.println("made deliverable");
363d357
< 				System.out.println("causalQueue");
374d367
< 			System.out.println("made deliverable");
396d388
< 		System.out.println("processAbcastQue");
406d397
< 					System.out.println("finally delivered");
477d467
< 	//	long waitforack;
481c471
< 		System.out.println("AbcastAck received-Viewsetsize: "+viewset.size());
---
> 		//	System.out.println("AbcastAck received-Viewsetsize: "+viewset.size());
487,488d476
< 		/** Forms the message**/
< 
491d478
< 
493,497c480,485
< 			mab2 = new Message(ID,ABCAST2,m.getmessageid(),0,ab2,this.getCounterValue(),-1,0); 
< 			dct.Produce(mab2); /**sends it on receiving all the acknowldegements**/
< 			abcastsent=true;
< 			System.out.println("ABCAST2 sent");
< 			//		mab2=null;
---
> 			//		ab2 = new Abcast2(1);  // 1 is the priority   --> i commented it 
> 			//ab2 = new Abcast(currentmax);  //  replaces the previous line .-------------------->Mithun commented this  
> 			
> 			mab2 = new Message(ID,ABCAST2,m.getmessageid(),0,ab2,this.getCounterValue(),-1,0);  //gid is hard-coded as 0
> 			//System.out.println("ABCAST2 sent");
> 			dct.Produce(mab2);
502,504c490
< 			Thread t=new Thread(new Timer(10,dtc));
< 			t.start();//timer waits for 10 secs- if no acks are received during this period then the abcast2 is sent
< 			System.out.println("waiting for abcastack");
---
> 			/*  dont know how to set the timer */
513,517d498
<     public void processAbcastAck()
<     {
< 	/** this method is invoked by the fault tolerance mechanism when all acks are not received and the view is updated**/
< 	dct.Produce(mab2);
<     }
523d503
< 	viewset.clear();
547c527
< 	System.out.println("probe sent");
---
> 
561d540
< 	System.out.println("processprobe");
603d581
< 	System.out.println("processprobeack");

